package com.atguigu.spring.demo17;

public class Machine {

    private String machineName;
    private String machineColor;
    private Double machinePrice;

    @Override
    public String toString() {
        return "Machine{" +
                "machineName='" + machineName + '\'' +
                ", machineColor='" + machineColor + '\'' +
                ", machinePrice=" + machinePrice +
                '}';
    }

    public String getMachineName() {
        return machineName;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }

    public String getMachineColor() {
        return machineColor;
    }

    public void setMachineColor(String machineColor) {
        this.machineColor = machineColor;
    }

    public Double getMachinePrice() {
        return machinePrice;
    }

    public void setMachinePrice(Double machinePrice) {
        this.machinePrice = machinePrice;
    }

    public Machine(String machineName, String machineColor, Double machinePrice) {
        this.machineName = machineName;
        this.machineColor = machineColor;
        this.machinePrice = machinePrice;
    }

    public Machine() {
    }
}
